<?php
/**
 * Created by PhpStorm.
 * User: 技术员专用
 * Date: 2019/3/18
 * Time: 11:36
 */
namespace app\common\lib;
class Util
{
    public static function show($code,$message='',$data=[]){
        $result = [
            'code' => $code,
            'message' => $message,
            'data' => $data,
        ];
        return json_encode($result);
    }
}